<h5 class="mb-4"><i class="fa fa-cubes"></i> 物料需求信息</h5>
<div
  *ngFor="let bill of bills"
  class="m-demo"
  data-code-preview="true"
  data-code-html="true"
  data-code-js="false"
>
  <div class="m-demo__preview text-center" style="padding: 10px">
    <div class="row">
      <div class="col-md-2">
        <small class="text-muted">任务编号</small>
        <h6 style="margin-top: 10px">{{ subTaskCode }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">图号</small>
        <h6 style="margin-top: 10px">{{ drawingCode }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">投产数量</small>
        <h6 style="margin-top: 10px">{{ bill.amountPlanned }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">牌号</small>
        <h6 style="margin-top: 10px">{{ bill.paiHao }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">状态</small>
        <h6 style="margin-top: 10px">{{ bill.materialStatus }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">标准</small>
        <h6 style="margin-top: 10px">{{ bill.paiHaoStandard }}</h6>
      </div>
    </div>
    <div class="row mt-4">
      <div class="col-md-2">
        <small class="text-muted">物资名称</small>
        <h6 style="margin-top: 10px">{{ bill.materialName }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">材料/产品</small>
        <h6 style="margin-top: 10px">{{ bill.productAmount }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">规格</small>
        <h6 style="margin-top: 10px">{{ bill.materialSpec }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">尺寸</small>
        <h6 style="margin-top: 10px">{{ bill.materialSize }}</h6>
      </div>
      <div class="col-md-2">
        <small class="text-muted">备注</small>
        <h6 style="margin-top: 10px">{{ bill.remark }}</h6>
      </div>
    </div>
  </div>
</div>

<div class="form-group">
  <label>备注</label>
  <input #remarkInput="ngModel" class="form-control" type="text" name="remark" [(ngModel)]="remark" />
  <validation-messages [formCtrl]="remarkInput"></validation-messages>
</div>

<div class="row">
  <div class="col-lg-12">
    <!-- <button
      type="button"
      class="btn btn-sm btn-success float-right"
      (click)="save()"
      [buttonBusy]="saving"
      [busyText]="'记录中...'"
    >
      <i class="fa fa-check-circle"></i> <span>记录</span>
    </button> -->
  </div>
</div>
